package com.chengcang.api.modules.sys.entity.orderSnapshotEntity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 
 *
 * @author Zhanli xy321231@163.com
 * @since 1.0.0 2023-01-14
 */
@Data
@TableName("sys_product_type")
public class SysOrderProductTypeSnapshotEntity {

    /**
     * 
     */
    @TableId
	private Long id;
    /**
     * 父id
     */
	private Long pid;
    /**
     * 名称
     */
	private String name;
    /**
     * 使用状态
     */
	private Integer status;

    private Integer level;

    @TableField(fill = FieldFill.INSERT)
    private Integer deleted;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long creator;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date createDate;

    @TableField(fill = FieldFill.UPDATE)
    private Long updater;

    @TableField(fill = FieldFill.UPDATE)
    private Date updateDate;

}